#!/bin/bash
cp ./transtool.htt ./transtool.html
echo -n 'let en = ' >> ./transtool.html
./extrFlag ../bwip-js.js | head -c -2 - >> ./transtool.html
echo -n '],zh = ' >> ./transtool.html
./extrFlag ../bwip-js-zh.js | head -c -2 - >> ./transtool.html
echo -n '];makeTrans(en,zh);</script></body></html>' >> ./transtool.html
